package io.renren.modules.generator.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.renren.modules.generator.entity.EnclosureEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 *
 *
 * @author guijing
 * @email sunlightcs@gmail.com
 * @date 2022-03-28 20:16:37
 */
@Mapper
public interface EnclosureDao extends BaseMapper<EnclosureEntity> {
    //学生查看核酸附件列表
    IPage<Map<String, Object>> studentEnclosureList(@Param("page") Page<Map<String, Object>> page, @Param("params") Map<String, Object> params);
    //班主任查看核酸附件列表
    IPage<Map<String, Object>> masterEnclosureList(@Param("page") Page<Map<String, Object>> page, @Param("params") Map<String, Object> params);
    //书记查看核酸附件列表
    IPage<Map<String, Object>> secretaryEnclosureList(@Param("page") Page<Map<String, Object>> page, @Param("params") Map<String, Object> params);

}
